﻿

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>支付申请</title>
    <script src="~/Scripts/jquery-2.1.4.min.js"></script>
</head>
<body>
    <div>
        <input type="text" name="orderNo" id="orderNo" value="@DateTime.Now.ToString("yyyyMMddHHmmssfffff")" placeholder="输入订单号" />
        <a href="javascript:void(0)" id="goPay">去支付</a>
        <br />
        <a href="javascript:void(0)" id="goTransfers">去转账</a>
        <br />
        <a href="javascript:void(0)" id="goWeixinH5">微信h5支付</a>
    </div>
</body>
</html>
<script>
    $(function () {
        $("#goPay").click(function () {
            var orderNo = $("#orderNo").val();
            location.href = '/Order/PayApply?orderNo=' + orderNo;
        });

        $("#goTransfers").click(function () {
            var orderNo = $("#orderNo").val();
            location.href = '/Order/TransfersApply?orderNo=' + orderNo;
        });

        $("#goWeixinH5").click(function () {
            var orderNo = $("#orderNo").val();
            location.href = '/Order/ChannelIdPayApply?orderNo=' + orderNo + "&channelId=WeiXin.MWEB";
        });
    });
</script>